package com.tedu.common.exception;

import com.tedu.common.response.StatusCode;
import lombok.Getter;

/*自定义的业务层异常类*/
public class ServiceException extends RuntimeException{
    @Getter
    private StatusCode statusCode;

    public ServiceException(StatusCode statusCode) {
        this.statusCode = statusCode;
    }



}
